<template>
    <div>
        <button @click="su()">减少数字</button>
    </div>
</template>
<script>
export default {
    data() {
        return {
        }
    },
    created() {
    },
    computed: {
    },
    methods: {
        su(){
            this.$store.dispatch("su",1)
        }
    },
}
</script>
<style lang="less" scoped></style>
